package com.gsj.boot.controller;

/**
 * @program: mybatisDriud
 * @description:
 * @author: 郭书江
 * @create: 2022-06-28 15:02
 **/
import com.gsj.boot.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SpringBootController {

    @Autowired
    TestService testService;
    @GetMapping("/hello")
    public String hello(){
        return testService.test();
    }
}
